
        <!-- <body data-spy="scroll" data-target="#myScrollspy"> -->
            <div class="col-md-2 categories">
                <div>
                    <button type="submit" style="width : 100px" class="btn btn-primary" (click)="doNewNotice()">
                        新建通知
                    </button>
                </div>
    
                <div class="list-group nav nav-tabs nav-stacked" id="myNav">
                    <a *ngFor="let nc of categories;let i = index" class="list-group-item"  (click)="findDataList(i)">{{nc.columnName}}</a>
                </div>
            </div>


            
            <div class="col-md-10 notices">
                <!-- <router-outlet></router-outlet>hidden none block-->
                <div id="allNotice"  *ngIf="allNoticeFlag"><app-notice-all></app-notice-all></div>
                <div id="listNotice"  *ngIf="listNoticeFlag" ><app-notice-list   [data] = "notices" [pageNum]="pageNum"></app-notice-list></div>
                <!-- <div id="listNotice"  *ngIf="listNoticeFlag" ><app-notice-list  [(e)]="m" [(d)] ="n" [data] = "notices" [pageNum]="pageNum"></app-notice-list></div> -->
                <div id="addNotice"   *ngIf="addNoticeFlag" ><app-add-notice  (cancleComponent)= cancleAddNotice($event)></app-add-notice></div>
                <!-- <div id="allNotice" #allNotice style="display:block;"><app-notice-all  ></app-notice-all></div>
                <div id="listNotice" #listNotice style="display:none;"><app-notice-list   [data] = "notices" [pageNum]="pageNum"></app-notice-list></div>
                <div id="addNotice" #addNotice style="display:none;"><app-add-notice  ></app-add-notice></div> -->
            </div>
            
        <!-- </body> -->
